﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Home_DacBiet.ascx.cs" Inherits="Home_DacBiet" %>
<div class="sp-wrapper">
    <div class="pavilion-header">
        <div class="bg-title">
            <a href="List.aspx?type=hot">SẢN PHẨM ĐẶC BIỆT</a></div>
    </div>
    <div class="product-list">
        <asp:Repeater runat="server" ID="rptDacBiet">
            <ItemTemplate>
                <div class="product-item">
                    <div class="bg_type_whatch">
                        <!--<div class="pi-sales"><div class="pis-item"><%#Eval("chietkhau") %>%</div></div>-->
                        <%#saleCheck(Eval("chietkhau").ToString(), Eval("conHang").ToString())%>
                        <%#giftCheck(Eval("QuaTang").ToString(), Eval("conHang").ToString())%>
                        <%#newCheck(Eval("HangMoi").ToString())%>
                        <%#existProductCheck(Eval("conHang").ToString())%>
                        <div class="pi-thumb">
                            <a class="img-thumb" href="Detail.aspx?type=getbyid&id=<%#Eval("id") %>">
                                <img src="<%#TTQT.TTQT_Code.TTQTCommon.isNull(Eval("picUrl"),"").Replace("../","") %>" alt="<%#Eval("tenhang") %>"></a>
                        </div>
                        <div class="textRight">
                            <div class="get_info_pro">
                                <h2><a href="Detail.aspx?type=getbyid&id=3"><%#Eval("tenhang") %></a></h2>
                                <div class="product-price">
                                    <span><%#TTQT.TTQT_Code.TTQTCommon.formatTien_KhongThapPhan(Eval("GiaBanCoChietKhau").ToString())%></span>
                                    <span>&nbsp;VNĐ</span>
                                </div>
                                <div class="clear"></div>
                                <div class="product-from"><%#Eval("name") %></div>
                            </div>
                        </div>
                        <div id="item_<%#Eval("id") %>" class="type_btn_sosanh">
                            <a onclick="addToCompare('<%#Eval("id") %>',1,'<%#Eval("tenhang") %>','Detail.aspx?type=getbyid&id=<%#Eval("id") %>','<%#TTQT.TTQT_Code.TTQTCommon.isNull(Eval("picUrl"),"").Replace("../","") %>')" href="javascript:;"></a>
                        </div>
                    </div>
                </div>
             </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class="clear"><img height="35px" alt="bút parker" class="spacer" src="images/spacer.gif"></div>
</div>